home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
EV12.ARJ
/
EV.DOC
< prev
next >
Wrap
Text File
|
1992-05-05
|
6KB
|
166 lines
┌─────────────────────────────────────────────────────────────────────┐
│ EV - The Environment Editor. (c) 1992 Eric C. Weaver │
└─────────────────────────────────────────────────────────────────────┘
What is an Environment Editor???
An Environment Editor is a full screen editor for modifying your
DOS environment without batch files and loads of typing. It also
allows you to have longer variables (350 characters) than
DOS allows, to save different Environments to disk and also to load
them back into memory at will. Used in your autoexec, it allows
you to define long paths at bootup and also allows you to choose
between saved environments.
The Maximum number of lines is 250. (350 x 250 = 87500) Way Larger
Than Your Environment could EVER BE!!!
(DOS limit on Environment size is 32K)
A word about long Environment strings.
If your Path or any other Environment variable exceeds 127
characters in length and you type PATH or SET to display them,
DOS will only show the first 127 characters. Don't get worried,
this is an artificial limit imposed by DOS, the PATH and all other
environment strings are still there.
If you're skeptical, put a directory in your path past 127
characters and then run a program in that directory.
What An Environment Editor isn't.
It won't change the size of your environment specified in your
config.sys.
It won't repair the hole in the Ozone Layer or plant more trees
either. (But you can)
Disclaimer.
I Disclaim Everything!!!!!!!! :-)
History of EV.
In January of this year I was working on some C, ASM, and Clipper
code and kept having to change my environment to accommodate 3
different compilers. So in a flash of inspiration I decided to
write an Environment Editor.
After tracking down the last "Node to Nowhere" towards the end of
the month, a usable product emerged. Now I find that I use it every
day. I hope You will too.
Registration:
This program is Shareware.
Please, if you find this program useful a nominal registration fee
of $15.00 is required if you want support, upgrades and other
utilities as I write them.
Send Check or Money Order to:
Eric C. Weaver
1313 Leawood Dr.
Elgin, Il 60120
For Messages:
My CIS ID # is 70233,1522. I try to check messages at least
twice a Week.
Below is a list of parameters and active keys.
Enjoy!
Environment Variable:
EVPATH=
Determines where all Environment files are placed and retrieved
from. Usually your local drive when on a network.
If not set, default is current directory.
ex. EVPATH=C:\EV\ (trailing backslash required)
Command line:
Command line usage is as follows. All parameters are optional.
EV [file]
Loads file directly into DOS environment and exits.
If no extension is supplied, ".ENV" is assumed.
EV /l
Displays a pickbox of Environment files in the current
directory. ENTER selects a file and loads it into the DOS
environment and exits. ESCAPE exits without loading file.
EV /d
Displays a pickbox of Environment files in the current
directory. ENTER selects a file and loads it into the Editor.
ESCAPE exits without loading file.
EV (No parameters)
Starts editor and loads current DOS environment for editing.
Editor:
F1 Help Screen.
F10 Writes editor contents to DOS Environment and exits.
F5 Reloads current Environment into editor.
F6 Prompts for filename and saves contents of editor for
reloading later. Don't put an extension on the file.
The file will have an extension of .ENV regardless of what
you type!
F7 Same as the /d command line switch.
HOME Moves cursor to the beginning of the current line.
END Moves cursor to the end of the current line.
ARROW KEYS Move cursor around editing buffer.
PAGE UP The Usual PAGE UP Thing.
PAGE DOWN The Usual PAGE DOWN Thing. (enough said)
ALT-D Deletes a line.
CTRL-Y Same as ALT-D.
ESCAPE Exits editor.
Environment Files
Environment Files are a representation of all your
Environment Variables saved to a file. These Files can be loaded
directly into memory by typing EV <filename>.
If the amount of memory required to load the file is more than is
allocated by command.com, an error message will display. You can
still load the file into the editor to change it (make it smaller).
My apologies to those who have an earlier version of EV, I had to
change the file structure. There is a utility in this zip file to
convert the old Environment Files to the new format.
You can continue to create Environment Files with a text editor but
they must be converted before use!
The syntax for the conversion program is:
ASC2ENV <Ascii File Name> [environment file name]
the first parameter is required. If you only pass one file name,
it will be overwritten.
The OPTIONAL second parameter is for a filename if you want to
preserve the original file.
In order for the Environment Files to show up in the file pick
list, they must have an extension of .ENV . Files created from
within the editor will automatically be supplied with this
extension. Files being loaded DIRECTLY into memory can have any
extension you wish, but to keep things simple, an extension of
.ENV is strongly suggested.